package com.socketCopy;

import com.socket.ReadThread;
import com.socket.WriteThread;

import java.io.IOException;
import java.net.Socket;

public class ClientDemo {
    public static void main(String[] args) throws IOException {
        Socket socket = new Socket("localhost",10001);
        new Thread(new WriteThread(socket)).start();

    }
}
